﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MvcApplication1
{
    public abstract class JobBase
    {
      

        /// <summary>
        /// log4日志对象
        /// </summary>
        protected log4net.ILog Logger
        {
            get
            {
                //得到当前类类型（当前实实例化的类为具体子类）
                return log4net.LogManager.GetLogger(this.GetType());
            }
        }



    }
}